proc comment {nick handle host chan otbn1 botnet} {
  global botnick home bcast

  # if user has "removed" their comment
  if {$otbn1 == ""} {
    putlog "!$nick ($host)! comment $chan ''"

    if {$bcast == "1"} {
      putquick "PRIVMSG $home :$nick!$host Set comment to the default value of '' on $chan"
    }

    putquick "NOTICE $nick :\0033Successfully set comment to '' on \0034$chan"
    set botnet "none"
    setchaninfo $handle $chan $botnet
    return 0
  }

  putlog "!$nick ($host)! comment $chan $botnet"

  setchaninfo $handle $chan $botnet
  putquick "NOTICE $nick :\0033Successfully set comment to '\003\002$botnet\002\0033' on \0034$chan"

  if {$bcast == "1"} {
    putquick "PRIVMSG $home :\002$nick\002 ($host) Set comment to $botnet on $chan"
  }
}









